import React from 'react'
 
export default function IDrecord({IDList}) {
    return (
        <>
            {IDList.map(item => {
                return <div key={item.id} style={{ border: '1px solid grey', margin: 10 }}>
                    <div style={{ padding: 10 }}>
                       
                        姓名：<span style={{ marginLeft: 10 }}><span style={{ fontSize: 20, color: 'green' }}>{item.ownerName} </span>
                             
                        </span>

                        <div style={{ marginTop: 5 }}>地址 ：{item.address}</div>
                        <div style={{ marginTop: 5 }}>账单编号：{item.idCard}</div>

                    </div>
                </div>

            })
            }

        </>
    )
}
